.class Lcom/brixd/niceapp/activity/NiceAppContentActivity$2;
.super Ljava/lang/Object;
.source "NiceAppContentActivity.java"

# interfaces
.implements Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu$OnOpenListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/NiceAppContentActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/NiceAppContentActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/NiceAppContentActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/NiceAppContentActivity;

    .prologue
    .line 91
    iput-object p1, p0, Lcom/brixd/niceapp/activity/NiceAppContentActivity$2;->this$0:Lcom/brixd/niceapp/activity/NiceAppContentActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onOpen()V
    .registers 7

    .prologue
    const/4 v5, 0x0

    .line 95
    iget-object v3, p0, Lcom/brixd/niceapp/activity/NiceAppContentActivity$2;->this$0:Lcom/brixd/niceapp/activity/NiceAppContentActivity;

    invoke-virtual {v3}, Lcom/brixd/niceapp/activity/NiceAppContentActivity;->getSlidingMenu()Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    move-result-object v3

    invoke-virtual {v3}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->getMenu()Landroid/view/View;

    move-result-object v3

    const v4, 0x7f0a0128

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    .line 96
    .local v2, "sideMenuBottom":Landroid/view/View;
    if-eqz v2, :cond_17

    .line 97
    invoke-virtual {v2}, Landroid/view/View;->requestFocus()Z

    .line 100
    :cond_17
    iget-object v3, p0, Lcom/brixd/niceapp/activity/NiceAppContentActivity$2;->this$0:Lcom/brixd/niceapp/activity/NiceAppContentActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppContentActivity;->mContentFragment:Landroid/support/v4/app/Fragment;
    invoke-static {v3}, Lcom/brixd/niceapp/activity/NiceAppContentActivity;->access$000(Lcom/brixd/niceapp/activity/NiceAppContentActivity;)Landroid/support/v4/app/Fragment;

    move-result-object v3

    instance-of v3, v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    if-eqz v3, :cond_4d

    .line 101
    iget-object v3, p0, Lcom/brixd/niceapp/activity/NiceAppContentActivity$2;->this$0:Lcom/brixd/niceapp/activity/NiceAppContentActivity;

    const v4, 0x7f0a011c

    invoke-virtual {v3, v4}, Lcom/brixd/niceapp/activity/NiceAppContentActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 102
    .local v0, "backView":Landroid/view/View;
    if-eqz v0, :cond_37

    invoke-virtual {v0}, Landroid/view/View;->getAlpha()F

    move-result v3

    cmpl-float v3, v3, v5

    if-eqz v3, :cond_37

    .line 103
    invoke-static {v0}, Lcom/brixd/niceapp/animator/AnimatorUtils;->animViewFadeOut(Landroid/view/View;)Landroid/animation/Animator;

    .line 106
    :cond_37
    iget-object v3, p0, Lcom/brixd/niceapp/activity/NiceAppContentActivity$2;->this$0:Lcom/brixd/niceapp/activity/NiceAppContentActivity;

    const v4, 0x7f0a0124

    invoke-virtual {v3, v4}, Lcom/brixd/niceapp/activity/NiceAppContentActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    .line 107
    .local v1, "rhythmView":Landroid/view/View;
    if-eqz v1, :cond_4d

    invoke-virtual {v1}, Landroid/view/View;->getAlpha()F

    move-result v3

    cmpl-float v3, v3, v5

    if-eqz v3, :cond_4d

    .line 108
    invoke-static {v1}, Lcom/brixd/niceapp/animator/AnimatorUtils;->animViewFadeOut(Landroid/view/View;)Landroid/animation/Animator;

    .line 112
    .end local v0    # "backView":Landroid/view/View;
    .end local v1    # "rhythmView":Landroid/view/View;
    :cond_4d
    return-void
.end method
